#coding=utf-8

import tensorflow as tf

import numpy as np
from tensorflow.python.client import device_lib
hello=tf.constant('hhh')

sess=tf.Session()

print(device_lib.list_local_devices())

print (sess.run(hello))